@(id: Long, disciplinaForm: Form[Disciplina])

@import helper._

@implicitFieldConstructor = @{ FieldConstructor(twitterBootstrapInput.render) } 

@main {
    
    <h1>Editar Disciplina</h1>
    
    @form(routes.Disciplinas.update(id)) {
        
        <fieldset>
            
            @inputText(disciplinaForm("descricao"), '_label -> "Descricao")
        
        </fieldset>
        
        <div class="actions">
            <input type="submit" value="Salvar" class="btn primary"> ou 
            <a href="@routes.Disciplinas.list()" class="btn">Cancelar</a> 
         </div> 
    }
    
    
    @form(routes.Disciplinas.delete(id), 'class -> "topRight") {
   		
        <input type="submit" value="Remover" class="btn danger">
         
    }
  
    
}
